import styled from 'styled-components'

const Container = styled.div`    
    .detail{
        margin: .18rem .1rem .1rem;
        padding-left: .1rem;
        height: 2.73rem;
        width: 93%;
        background-color: #fff;
        border: 1px solid #fff;
        border-radius: .08rem;
        &>p:nth-of-type(1){
            height: .56rem;
            line-height: .56rem;
            font-size: .18rem;
            border-bottom: 1px solid #ccc;
        }
        &>p:nth-of-type(2){
            height: 1rem;
            padding-top: .2rem;
            font-size: .16rem;
            line-height: .18rem;
            border-bottom: 1px solid #ccc;
        }
        ul{
            height: 1.15rem;
            padding-top: .2rem;
            padding-right: .1rem;
            li{
                display: flex;
                height: .22rem;
                justify-content: space-between;
                line-height: .22rem;
                font-size: .12rem;
                color: #666;
                img{
                    height: .14rem;
                    width: .14rem;
                }
            }           
        }
    }
    .detail12{
        h2{
            height: .3rem;
            width: 70%;
            border: 1px solid #308bfe;
            border-radius: .15rem;
            background-color: #308bfe;
            color: #fff;
            font-size: .18rem;
            text-align: center;
            line-height: .3rem;
            margin: auto;
            margin-top: .4rem;
        }
        h3{
            display: none;
            .detail1{
                margin: 0 .1rem;
                padding: .15rem .1rem;
                height: 1.25rem;
                width: 93%;
                background-color: #fff;
                border: 1px solid #fff;
                border-bottom: 1px solid #ccc;
                border-radius: .08rem .08rem 0 0;
                display: flex;
                justify-content: space-between;
                P{
                    width: .6rem;
                    font-size: .14rem;
                    color: #666;
                }
                ul{
                    width: 2.6rem;
                    display: flex;
                    align-content: flex-start;
                    flex-wrap: wrap;
                    li{
                        height: .18rem;
                        width: max-content;
                        margin: .08rem;
                        border: 1px solid #ccc;
                        border-radius: .1rem;
                        padding: 0 .08rem;
                        font-size: .12rem;
                        color: #666;
                    }
                }
            }
            .detail2{
                margin: 0 .1rem;
                padding: .15rem .1rem;
                height: 1.25rem;
                width: 93%;
                background-color: #fff;
                border: 1px solid #fff;
                border-radius: 0 0 .08rem .08rem;
                display: flex;
                justify-content: space - between;
                P{
                    width: .6rem;
                    font-size: .14rem;
                    color: #666;
                }
                ul{
                    width: 2.6rem;
                    display: flex;
                    align-content: flex-start;
                    flex-wrap: wrap;
                    li{
                        height: .18rem;
                        width: max-content;
                        margin: .08rem;
                        border: 1px solid #ccc;
                        border-radius: .1rem;
                        padding: 0 .08rem;
                        font-size: .12rem;
                        color: #666;
                    }
                }
            }
        }
    }
    .detail12:hover h2{
        display: none;
    }
    .detail12:hover h3{
        display: block;
    }
    footer{
       position: fixed;
            bottom:0;
            width: 100%;
            height: .5rem;
            border-top: 1px solid #666;
            display: flex;
            align-items: center;
            justify-content: space-around;
            p{
                width: .3rem;
                .yo-ico{
                    font-size: .18rem;
                }
            }
            &>p:nth-child(1){
                u{
                    display: block;
                    width: 2.5rem;
                    height: 1rem;
                    position: fixed;
                    bottom: .6rem;
                    left: .7rem;
                    text-align: center;
                    line-height: 1rem;
                    font-size: .16rem;
                    background-color: pink;
                    border-radius: .5rem;
                }
            }
    }
`

export {
    Container
}